package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:varchar(30)"json:"Account"`
	Password string `gorm:"type:varchar(32)"json:"Password"`
}

type Good struct {
	gorm.Model
	UserId  int64  `gorm:"type:int"json:"UserId"`
	Title   string `gorm:"type:varchar(30)"json:"Title"`
	Details string `gorm:"type:varchar(100)"json:"Details"`
	Img     string `gorm:"type:varchar(500)"json:"Img"`
}
